package com.system.healthproject.model.admin.service;

import com.system.healthproject.bean.AppCodeBean;
import com.system.healthproject.bean.AppCodeResultBean;
import com.system.healthproject.bean.AppCodeUserBean;
import com.system.healthproject.bean.PagesBean;
import com.system.healthproject.model.admin.paramsbean.AppCodeParams;

public interface AppCodeService {
    boolean insertAppCode(AppCodeParams appCode);

    PagesBean<AppCodeResultBean> selectAppCodeWhere(
            Integer page,
            Integer size,
            String projectName,
            String hospitalName,
            String appcodeCreatetime);

    AppCodeBean selectOneAppCode(Integer appcodeId);

    PagesBean<AppCodeUserBean> selectUsePatientbyCode(Integer appcodeId, Integer page, Integer size);

    boolean deleteAppCode(Integer appCodeId);
}
